<template>
  <h1>关于我们--- id是{{id}}</h1>
</template>

<script>
export default {
  data:function(){
    return {
      id:0
    }
  },
  created:function(){
      console.log(this.$route);
      let id = this.$route.params.id;
      this.id = id;
  }
}
</script>

<style>

</style>